<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>MyOnlineShop.com</title>
        <link rel="stylesheet" href="script/myOnlineShop.css" />
        <script type="text/javascript" src="script/myOnlineShop.js"></script>
    </head>
    <body class="myBody">
        <form name="frmTemplate">
        <?php
        include("utility/connection.php");
        include("utility/general.php");
        include("model/mBarang.php");
        include("model/mToko.php");
        include("model/mInformasi.php");
        include("model/mLinks.php");
        @session_start();
        
        $JmlBarang = fnAllBrg();
        $TotalRow = mysql_num_rows($JmlBarang);
        
        $resInfoToko = fnInfoToko();
        $InfoToko = mysql_fetch_array($resInfoToko);
        $_SESSION['InfoToko']=$InfoToko;
        $Nama = $InfoToko[0];
        $Alamat1 = $InfoToko[1];
        $Alamat2 = $InfoToko[2];
        $Kelurahan = $InfoToko[3];
        $Kecamatan = $InfoToko[4];
        $Kota = $InfoToko[5];
        $Propinsi = $InfoToko[6];
        $KodePos = $InfoToko[7];
        $Telp = $InfoToko[8];
        $Email = $InfoToko[9];
        $ContactPerson = $InfoToko[10];
        $Motto = $InfoToko[11];
        ?>
        <table border="0" cellpadding="2" cellspacing="2" width="100%">
            <!-- header -->
            <tr height="75px">
                <td align="center" colspan="3">
                    <?php include("template/header.php") ?>
                </td>
            </tr>
            <!-- body -->
            <tr height="75px">
                <!-- left -->
                <td valign="top" align="center" width="20%">
                    <?php include("template/left.php") ?>
                </td>
                <!-- center -->
                <td valign="top" align="center" width="60%">
                </td>
                <!-- right -->
                <td valign="top" align="center" width="20%">
                    <?php include("template/right.php") ?>
                </td>
            </tr>
            <!-- footer -->
            <tr height="75px">
                <td align="center" colspan="3">
                    <?php include("template/footer.php") ?>
                </td>
            </tr>
        </table>
        </form>
    </body>
</html>
